import au.org.ala.phylojive.Template
import au.org.ala.phylojive.Tree
import org.codehaus.groovy.grails.commons.ApplicationHolder
import au.org.ala.phylojive.User

class BootStrap {

    def init = { servletContext ->
        def importTree = false;
        def systemUser = User.findByDisplayName("System")
        if (!systemUser) {
            systemUser = new User(
                    userId: 1,
                    displayName: "System",
                    email: "phylojive@ala.org.au",
                    created: new Date()
            ).save(flush:true, failOnError: true)
        }
        log.info "systemUser = " + systemUser

        Template defaultTemplate = Template.findByName('Default')
        if (!defaultTemplate) {
            log.info "Creating default template"
            def tmplStr = ApplicationHolder.application.parentContext.getResource("classpath:resources/defaultTmpl").inputStream.text
            defaultTemplate = new Template(
                    name: "Default",
                    code: 'empty'
            ).save(flush:true, failOnError: true)
            defaultTemplate.code = tmplStr
            defaultTemplate.save(flush:true, failOnError: true)
            log.info "Finished saving default template"
        }
        if ( importTree ){
            def trees = Tree.list();
            def iterator = trees.iterator();
            def tree;
            while ( iterator.hasNext() ){
                tree = iterator.next();
                if( tree.newick ){
                    if( tree.name == 'test_alexie'){
                        println( tree.newick );
                    }
                    println( 'found a newick tree' );
//                println( tree.name );
//                    println( tree.newick );
                    tree.setProperty('tree',tree.newick);
                    tree.save(flush:true, failOnError: true)
                    println('saved tree')
                }
            }
        }
        log.info "file check: " + ApplicationHolder.application.parentContext.getResource("classpath:resources/Acacia characters trin.json").file.absolutePath
        Tree tree1 = Tree.findByName('Acacia Test 1')
        if (!tree1) {
            log.info "Creating sample tree: Acacia Test 1"
            tree1 = new Tree(
                    name: "Acacia Test 1",
                    owner: systemUser,
                    isPublic: true,
                    characters: "",
//                    for some reason newick to nexml converter does not like space between leaf names. replace spaces by underscore.
                    tree:  '((((((((((((Acacia_deanei20d:0.029395999999999978,Acacia_mearnsii:0.04198500000000005,Acacia_mearnsii:0.009386000000000005):0.025534000000000057,Acacia_muelleriana:0.05095799999999995):0.009724999999999984,(Acacia_dealbata3d:0.013597999999999999,Acacia_dealbata:0.04765799999999998):0.06518100000000004,(Acacia_linifolia:0.053427,Acacia_spectabilis:0.07935999999999999):0.03228399999999998):0.011299999999999977,Acacia_dorothea40d:0.04428500000000002):0.025370000000000004,(Acacia_penninervis:0.010780000000000012,Acacia_penninervis:0.013546999999999976):0.027490000000000014):0.022839000000000054,((Acacia_cultriformis:0.051591000000000053,Acacia_falcata4f:0.067639):0.036248999999999976,(Acacia_neriifolia8n:0.05405700000000002,Acacia_pravissima:0.08901599999999998):0.035804999999999976):0.01113900000000001):0.08552600000000005,((((Acacia_amblyophylla:0.191411,Acacia_meissneri:0.036506999999999956):0.023009000000000057,Acacia_anceps:0.09021299999999999):0.034943999999999975,Acacia_euthycarpa:0.067473):0.009916000000000036,(Acacia_beckleri:0.07366899999999998,Acacia_pycnantha:0.07797299999999996):0.03950200000000004,(Acacia_hakeoides19h:0.06449499999999997,Acacia_hakeoides:0.05915199999999998):0.04348099999999999):0.024106000000000016):0.14326599999999995,((((((Acacia_aneura12a:0.06850299999999998,Acacia_aneura:0.185102):0.11921999999999999,(Acacia_gonoclada:0.13806600000000002,Acacia_holosericea:0.09942899999999999):0.047653999999999974):0.023492999999999986,(Acacia_abbreviata:0.175033,Acacia_crassicarpa:0.10139299999999996):0.06082900000000002):0.032843999999999984,Acacia_multispicata:0.147733):0.05070999999999992,(Acacia_floribunda7fl:0.15847300000000003,Acacia_triptera18t:0.13394199999999995):0.02024699999999996):0.046435000000000004,(((Acacia_cognata:0.298748,Acacia_flexifolia6f:0.06810700000000003):0.039027000000000034,(Acacia_venulosa:0.10495200000000005,Acacia_viscidula:0.12380199999999997):0.03825400000000001):0.01595599999999997,(Acacia_baeuerlenii22b:0.14029000000000003,Acacia_melanoxylon:0.16516799999999998):0.04455399999999998):0.11580999999999997):0.04352299999999998):0.12480200000000008,(((Acacia_murrayana:0.271116,Acacia_pachyacra:0.08749700000000005):0.09907100000000002,Acacia_subrigida:0.33091000000000004):0.17799300000000007,(Acacia_suaveolens:0.595355,Acacia_triquetra:0.349507):0.06649000000000005):0.06937499999999996):0.04425599999999996,(((((((Acacia_leioderma:0.09380500000000003,Acacia_pentadenia:0.09877999999999998):0.218746,(Acacia_hemiteles:0.08961200000000002,Acacia_guinetii:0.11649100000000001):0.20321999999999996):0.11906499999999998,(Acacia_adoxa:0.05807399999999996,Acacia_perryi:0.06811599999999995):0.2606519999999999):0.03101300000000007,Acacia_pravifolia39p:0.27304800000000007):0.03586199999999995,((Acacia_cupularis:0.039309999999999956,Acacia_ligulata:0.02492300000000003):0.19357899999999995,Acacia_rostellifera:0.245108):0.22407599999999994):0.048131000000000035,Acacia_extensa:0.28929799999999994):0.02978499999999995,((Acacia_saligna:0.10582400000000003,Acacia_saligna:0.06461700000000004):0.21633999999999998,Acacia_alata:0.35306400000000004):0.08363799999999999):0.06725000000000003):0.03506100000000001,((Acacia_dempsteri:0.187512,Acacia_pyrifolia:0.12982800000000005):0.08194299999999999,Acacia_victoriae:0.42759500000000006):0.21501400000000004):0.0698625,(Acacia_parach:0.247707,Acacia_paraser:0.646114):0.0698625);((((((((((((Acacia_deanei20d:0.029396,Acacia_mearnsii:0.041985,Acacia_mearnsii:0.009386):0.025534,Acacia_muelleriana:0.050958):0.009725,(Acacia_dealbata3d:0.013598,Acacia_dealbata:0.047658):0.065181,(Acacia_linifolia:0.053427,Acacia_spectabilis:0.07936):0.032284):0.0113,Acacia_dorothea40d:0.044285):0.02537,(Acacia_penninervis:0.01078,Acacia_penninervis:0.013547):0.02749):0.022839,((Acacia_cultriformis:0.051591,Acacia_falcata4f:0.067639):0.036249,(Acacia_neriifolia8n:0.054057,Acacia_pravissima:0.089016):0.035805):0.011139):0.085526,((((Acacia_amblyophylla:0.191411,Acacia_meissneri:0.036507):0.023009,Acacia_anceps:0.090213):0.034944,Acacia_euthycarpa:0.067473):0.009916,(Acacia_beckleri:0.073669,Acacia_pycnantha:0.077973):0.039502,(Acacia_hakeoides19h:0.064495,Acacia_hakeoides:0.059152):0.043481):0.024106):0.143266,((((((Acacia_aneura12a:0.068503,Acacia_aneura:0.185102):0.11922,(Acacia_gonoclada:0.138066,Acacia_holosericea:0.099429):0.047654):0.023493,(Acacia_abbreviata:0.175033,Acacia_crassicarpa:0.101393):0.060829):0.032844,Acacia_multispicata:0.147733):0.05071,(Acacia_floribunda7fl:0.158473,Acacia_triptera18t:0.133942):0.020247):0.046435,(((Acacia_cognata:0.298748,Acacia_flexifolia6f:0.068107):0.039027,(Acacia_venulosa:0.104952,Acacia_viscidula:0.123802):0.038254):0.015956,(Acacia_baeuerlenii22b:0.14029,Acacia_melanoxylon:0.165168):0.044554):0.11581):0.043523):0.124802,(((Acacia_murrayana:0.271116,Acacia_pachyacra:0.087497):0.099071,Acacia_subrigida:0.33091):0.177993,(Acacia_suaveolens:0.595355,Acacia_triquetra:0.349507):0.06649):0.069375):0.044256,(((((((Acacia_leioderma:0.093805,Acacia_pentadenia:0.09878):0.218746,(Acacia_hemiteles:0.089612,Acacia_guinetii:0.116491):0.20322):0.119065,(Acacia_adoxa:0.058074,Acacia_perryi:0.068116):0.260652):0.031013,Acacia_pravifolia39p:0.273048):0.035862,((Acacia_cupularis:0.03931,Acacia_ligulata:0.024923):0.193579,Acacia_rostellifera:0.245108):0.224076):0.048131,Acacia_extensa:0.289298):0.029785,((Acacia_saligna:0.105824,Acacia_saligna:0.064617):0.21634,Acacia_alata:0.353064):0.083638):0.06725):0.035061,((Acacia_dempsteri:0.187512,Acacia_pyrifolia:0.129828):0.081943,Acacia_victoriae:0.427595):0.215014):0.0698625,(Acacia_parach:0.247707,Acacia_paraser:0.646114):0.0698625);',
                    attribution: '',
                    identifyLifeDataset: "acacia"
            ).save(flush:true, failOnError: true)
        }
        Tree tree2 = Tree.findByName('Acacia Test 2')
        if (!tree2) {
            log.info "Creating sample tree: Acacia Test 2"
            tree2 = new Tree(
                    name: "Acacia Test 2",
                    owner: systemUser,
                    isPublic: true,
                    characters: '{"Acacia triquetra":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["S.A."],"Phyllode cross-section":["flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode colour":["green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"S.A. botanical regions":["Eyre Peninsula","Yorke Peninsula","Kangaroo Island"],"Phyllode shape":["linear","narrowly elliptic to orbicular","narrowly oblong to oblong","oblanceolate to obovate"],"Funicle":["not encircling seed"],"Phyllode midrib position":["central"],"Growth form":["erect shrub"],"New shoot hairs (presence)":["absent"],"Pod shape":["linear"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["present"],"Pod curvature":["straight","slightly curved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"Sepal fusion":["free to base"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["simple","racemose"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia suaveolens":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["S.A.","Qld","N.S.W.","Vic.","Tas."],"Phyllode cross-section":["flat"],"Qld botanical regions":["Mitchell","Port Curtis","Wide Bay","Moreton"],"Inflorescence colour":["white to cream","pale yellow","lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["present"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Aril colour":["brown"],"Branchlet axillary spines":["absent"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["pruinose","not pruinose"],"S.A. botanical regions":["South Eastern"],"Phyllode shape":["linear","narrowly elliptic to orbicular","oblanceolate to obovate"],"Funicle":["not encircling seed"],"Phyllode midrib position":["central"],"Growth form":["erect shrub","prostrate shrub"],"Pod shape":["narrowly oblong","oblong"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["present"],"Vic. botanical regions":["Wannon","Grampians","Otway Plain","Otway Ra.","Eastern Highlands & Snowfields","Gippsland Plain","Wilsons Promontory","East Gippsland"],"Pod curvature":["straight"],"N.S.W. botanical regions":["North Coast","Central Coast","South Coast","Central Tablelands","Southern Tablelands"],"Phyllode curvature":["straight","shallowly incurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"Sepal fusion":["free to base"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["racemose"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["transverse"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia pachyacra":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["W.A.","N.T.","S.A."],"Phyllode cross-section":["terete","quadrangular","flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode colour":["sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["pruinose","not pruinose"],"S.A. botanical regions":["North Western"],"Phyllode shape":["linear"],"Funicle":["not encircling seed"],"Phyllode nerve no. (non-flat phyllodes)":["four"],"Pod shape":["narrowly oblong","oblong"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["present"],"Pod curvature":["straight"],"N.T. botanical regions":["Central Australia South"],"Phyllode curvature":["straight","shallowly recurved","shallowly incurved"],"Aril development":["absent"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"W.A. botanical regions":["Murchison","Gascoyne","Great Victoria Desert","Central Deserts","Great Sandy Desert","Little Sandy Desert","Pilbara"],"Sepal fusion":["free to base"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["racemose"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["oblique","transverse"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia murrayana":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["W.A.","N.T.","S.A.","Qld","N.S.W."],"Phyllode cross-section":["flat"],"Qld botanical regions":["Gregory North","Gregory South","Warrego","Maranoa","Darling Downs"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode colour":["glaucous or grey","sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["pruinose","not pruinose"],"S.A. botanical regions":["North Western","Lake Eyre","Gairdner-Torrens","Eastern"],"Phyllode shape":["linear","narrowly elliptic to orbicular","narrowly oblong to oblong","lanceolate to ovate","oblanceolate to obovate"],"Funicle":["not encircling seed"],"Phyllode midrib position":["central"],"Pod shape":["narrowly oblong"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["present"],"Pod curvature":["straight"],"N.S.W. botanical regions":["Central Western Slopes","North Western Plains","South Western Plains","North Far Western Plains","South Far Western Plains"],"N.T. botanical regions":["Central Australia North","Central Australia South"],"Phyllode curvature":["straight","shallowly recurved","shallowly incurved"],"Aril development":["absent"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"W.A. botanical regions":["Geraldton Sandplains","Avon Wheatbelt","South-eastern","Coolgardie","Murchison","Gascoyne","Carnarvon","Great Victoria Desert","Central Deserts"],"Sepal fusion":["free to base"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["racemose"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["oblique","transverse"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia subrigida":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["W.A."],"Phyllode cross-section":["terete","quadrangular"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode colour":["sub-glaucous to grey-green","green"],"Pulvinus (presence)":["absent or very reduced"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["linear"],"Funicle":["not encircling seed"],"Phyllode nerve no. (non-flat phyllodes)":["four"],"Pod shape":["narrowly oblong"],"Growth form":["erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["present"],"Pod curvature":["straight","slightly curved"],"Phyllode curvature":["straight","shallowly incurved"],"Aril development":["absent"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"W.A. botanical regions":["Geraldton Sandplains","Avon Wheatbelt","Coolgardie","Murchison"],"Sepal fusion":["free to base"],"Petal nervation":["1-nerved","nerveless"],"Inflorescence arrangement":["racemose"],"Seed orientation (in pods)":["longitudinal","oblique"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["coarsely pungent","not pungent"]},"Acacia triptera18t":null,"Acacia floribunda7fl":null,"Acacia holosericea":{"Phyllode surface features (punctae)":["not punctate"],"Branchlet prickles":["absent"],"Peduncle hairs (presence)":["absent","present"],"State distribution":["W.A.","N.T.","Qld"],"Phyllode cross-section":["flat"],"Qld botanical regions":["Cook","Burke","North Kennedy","South Kennedy","Gregory North","Mitchell","Leichhardt","Port Curtis","Warrego"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent","present"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["cylindrical"],"Aril colour":["yellow"],"Branchlet axillary spines":["absent"],"Phyllode hairs (position)":["at base","over +\\/- entire surface"],"Phyllode colour":["sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["pruinose","not pruinose"],"Phyllode shape":["narrowly elliptic to orbicular"],"Funicle":["not encircling seed"],"Phyllode nerve confluence (at base of phyllodes)":["confluent with lower margin"],"New shoot hairs (presence)":["absent","present"],"Pod shape":["linear"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["present","absent"],"Pod curvature":["twisted","tightly coiled"],"N.T. botanical regions":["Darwin & Gulf","Victoria River District","Barkly Tableland","Central Australia North"],"Phyllode curvature":["straight"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["numerous"],"Pod hairs":["absent","present"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["present","absent"],"W.A. botanical regions":["Pilbara","Kimberley"],"New shoot colour":["white","brown"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["3 per face","4 per face","numerous per face"],"Inflorescence arrangement":["simple","racemose"],"Peduncle hairs (orientation)":["appressed","sub-appressed"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"],"Branchlet hairs (orientation)":["appressed","sub-appressed","widely spreading"]},"Acacia gonoclada":{"Phyllode surface features (punctae)":["not punctate"],"Branchlet prickles":["absent"],"Peduncle hairs (presence)":["absent","present"],"State distribution":["W.A.","N.T.","Qld"],"Phyllode cross-section":["flat"],"Qld botanical regions":["Cook","Burke","North Kennedy","South Kennedy","Gregory North","Mitchell"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["cylindrical"],"Aril colour":["white to cream"],"Branchlet axillary spines":["absent"],"Phyllode colour":["sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["narrowly elliptic to orbicular","oblanceolate to obovate"],"Funicle":["not encircling seed"],"Phyllode nerve confluence (at base of phyllodes)":["confluent with lower margin","separate from one another"],"New shoot hairs (presence)":["absent"],"Pod shape":["linear","narrowly oblong","sub-moniliform"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight"],"N.T. botanical regions":["Darwin & Gulf","Victoria River District","Barkly Tableland"],"Phyllode curvature":["straight","shallowly incurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent","few"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["present","absent"],"W.A. botanical regions":["Kimberley"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["2 per face","numerous per face"],"Inflorescence arrangement":["simple","racemose","paniculate"],"Ovary hairs":["present"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"],"Branchlet hairs (orientation)":["appressed"]},"Acacia aneura12a":null,"Acacia aneura":null,"Acacia crassicarpa":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["Qld"],"Phyllode cross-section":["flat"],"Qld botanical regions":["Cook","North Kennedy","South Kennedy"],"Inflorescence colour":["pale yellow","lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["cylindrical"],"Aril colour":["white to cream","yellow"],"Branchlet axillary spines":["absent"],"Phyllode colour":["sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Phyllode shape":["narrowly elliptic to orbicular","lanceolate to ovate"],"Funicle":["not encircling seed"],"Phyllode shape (special)":["falcate","sub-falcate"],"Phyllode nerve confluence (at base of phyllodes)":["confluent with lower margin","separate from one another"],"Pod shape":["narrowly oblong","oblong"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight","twisted"],"Phyllode curvature":["shallowly recurved","strongly recurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["3 per face","numerous per face"],"Inflorescence arrangement":["simple"],"Ovary hairs":["present"],"Seed orientation (in pods)":["transverse"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia abbreviata":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["N.T."],"Phyllode cross-section":["terete","sub-terete","compressed","flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["obloid to ellipsoid","cylindrical"],"Branchlet axillary spines":["absent"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["linear","narrowly oblong to oblong","oblanceolate to obovate"],"Funicle":["not encircling seed"],"Phyllode nerve no. (non-flat phyllodes)":["absent","numerous"],"Pod shape":["linear-oblanceolate"],"Growth form":["erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight"],"N.T. botanical regions":["Victoria River District","Central Australia North","Central Australia South"],"Phyllode curvature":["straight","sigmoid"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["fasciculate","scattered"],"Branchlet hairs (presence)":["absent"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["numerous per face"],"Inflorescence arrangement":["simple"],"Ovary hairs":["absent"],"Seed orientation (in pods)":["longitudinal","oblique"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["coarsely pungent","not pungent"]},"Acacia multispicata":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent","present"],"Branchlet prickles":["absent"],"State distribution":["W.A."],"Phyllode cross-section":["terete","sub-terete","compressed","flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["obloid to ellipsoid","cylindrical"],"Aril colour":["white to cream"],"Branchlet axillary spines":["absent"],"Phyllode colour":["green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["linear"],"Funicle":["not encircling seed"],"Phyllode nerve no. (non-flat phyllodes)":["eight","numerous"],"Growth form":["erect shrub"],"Pod shape":["sub-moniliform","moniliform"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight","slightly curved"],"Phyllode curvature":["straight","shallowly incurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["present","absent"],"W.A. botanical regions":["South-western","Geraldton Sandplains","Avon Wheatbelt","South-eastern","Coolgardie"],"New shoot colour":["white","yellow","grey"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["3 per face","4 per face","numerous per face"],"Inflorescence arrangement":["simple"],"Ovary hairs":["present"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["coarsely pungent","not pungent"]},"Acacia venulosa":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["present"],"Branchlet prickles":["absent"],"State distribution":["Qld","N.S.W."],"Phyllode cross-section":["flat"],"Qld botanical regions":["Leichhardt","Darling Downs","Moreton"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent","present"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode hairs (position)":["on margins","on nerves"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["narrowly elliptic to orbicular"],"Funicle":["not encircling seed"],"Growth form":["erect shrub"],"Pod shape":["linear","narrowly oblong"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight"],"N.S.W. botanical regions":["North Coast","Northern Tablelands","North Western Slopes"],"Phyllode curvature":["straight","shallowly incurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["few","numerous"],"Pod hairs":["present"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["present"],"Sepal fusion":["free to base","very shortly united","clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["3 per face","4 per face","numerous per face"],"Inflorescence arrangement":["simple","racemose"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["coarsely pungent","not pungent"]},"Acacia viscidula":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["present"],"Branchlet prickles":["absent"],"State distribution":["Qld","N.S.W."],"Phyllode cross-section":["flat"],"Qld botanical regions":["Wide Bay","Darling Downs","Moreton"],"Inflorescence colour":["pale yellow","lemon yellow to golden"],"Phyllode hairs (presence)":["absent","present"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode hairs (position)":["on margins","over +\\/- entire surface"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["linear"],"Funicle":["not encircling seed"],"Pod shape":["linear"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight"],"N.S.W. botanical regions":["North Coast","Northern Tablelands","North Western Slopes"],"Phyllode curvature":["straight","sigmoid"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent","few"],"Pod hairs":["present"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["present","absent"],"Sepal fusion":["free to base","very shortly united","clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["3 per face","4 per face","numerous per face"],"Inflorescence arrangement":["simple"],"Peduncle hairs (orientation)":["widely spreading"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["sharply pungent","coarsely pungent","not pungent"],"Branchlet hairs (orientation)":["widely spreading"]},"Acacia flexifolia6f":null,"Acacia cognata":{"Phyllode surface features (punctae)":["punctate"],"Peduncle hairs (presence)":["present"],"Branchlet prickles":["absent"],"State distribution":["N.S.W.","Vic."],"Phyllode cross-section":["flat"],"Inflorescence colour":["pale yellow","lemon yellow to golden"],"Phyllode hairs (presence)":["absent","present"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode hairs (position)":["on margins"],"Phyllode colour":["green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["linear","narrowly elliptic to orbicular"],"Funicle":["not encircling seed"],"Phyllode midrib position":["central"],"New shoot hairs (presence)":["absent"],"Pod shape":["linear"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Vic. botanical regions":["East Gippsland"],"Pod curvature":["straight"],"N.S.W. botanical regions":["Central Coast","South Coast","Southern Tablelands"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent","few"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["present","absent"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face","3 per face","4 per face"],"Inflorescence arrangement":["simple"],"Peduncle hairs (orientation)":["appressed"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia baeuerlenii22b":null,"Acacia melanoxylon":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent","present"],"Branchlet prickles":["absent"],"State distribution":["W.A.","S.A.","Qld","N.S.W.","A.C.T.","Vic.","Tas."],"Phyllode cross-section":["flat"],"Qld botanical regions":["Cook","North Kennedy","South Kennedy","Port Curtis","Wide Bay","Burnett","Darling Downs","Moreton"],"Inflorescence colour":["white to cream"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Aril colour":["red"],"Branchlet axillary spines":["absent"],"Phyllode colour":["green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"S.A. botanical regions":["Eyre Peninsula","Northern Lofty","Murray","Southern Lofty","South Eastern"],"Phyllode shape":["narrowly elliptic to orbicular","lanceolate to ovate","oblanceolate to obovate"],"Funicle":["half or more encircling seed"],"Phyllode nerve confluence (at base of phyllodes)":["separate from one another"],"New shoot hairs (presence)":["absent","present"],"Pod shape":["linear"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Vic. botanical regions":["Wimmera","Wannon","Grampians","Riverina","Midlands","Volcanic Plain","Otway Plain","Otway Ra.","Eastern Highlands & Snowfields","Gippsland Plain","Gippsland Highlands","Wilsons Promontory","East Gippsland"],"Pod curvature":["curved","twisted","openly coiled"],"N.S.W. botanical regions":["North Coast","Central Coast","South Coast","Northern Tablelands","Central Tablelands","Southern Tablelands","North Western Slopes","Central Western Slopes","South Western Slopes"],"Phyllode curvature":["straight","shallowly recurved","strongly recurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["numerous"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["present","absent"],"W.A. botanical regions":["South-western"],"New shoot colour":["white"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["3 per face","4 per face","numerous per face"],"Inflorescence arrangement":["racemose"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia meissneri":null,"Acacia amblyophylla":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent","present"],"Branchlet prickles":["absent"],"State distribution":["W.A."],"Phyllode cross-section":["flat"],"Inflorescence colour":["pale yellow"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular","obloid to ellipsoid"],"Branchlet axillary spines":["absent"],"Phyllode colour":["sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["oblanceolate to obovate"],"Funicle":["half or more encircling seed"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight"],"Phyllode curvature":["shallowly recurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"W.A. botanical regions":["Geraldton Sandplains","Carnarvon"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["racemose"],"Peduncle hairs (orientation)":["appressed"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia anceps":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["W.A.","S.A."],"Phyllode cross-section":["flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode colour":["sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"S.A. botanical regions":["Nullarbor","Eyre Peninsula"],"Phyllode shape":["oblanceolate to obovate"],"Funicle":["half or more encircling seed","not encircling seed"],"Growth form":["erect shrub"],"New shoot hairs (presence)":["absent"],"Pod shape":["oblong","moniliform"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight","slightly curved","undulate"],"Phyllode curvature":["straight","shallowly recurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"W.A. botanical regions":["South-eastern"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["simple"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["transverse"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia euthycarpa":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["S.A.","Vic."],"Phyllode cross-section":["terete","sub-terete","compressed","flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular","obloid to ellipsoid"],"Branchlet axillary spines":["absent"],"Phyllode colour":["glaucous or grey","sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"S.A. botanical regions":["Gairdner-Torrens","Eyre Peninsula","Northern Lofty","Murray","Southern Lofty","Kangaroo Island","South Eastern"],"Phyllode shape":["linear","oblanceolate to obovate"],"Funicle":["half or more encircling seed"],"Phyllode nerve no. (non-flat phyllodes)":["four"],"New shoot hairs (presence)":["absent"],"Pod shape":["linear"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Vic. botanical regions":["Murray Mallee","Lowan Mallee","Wimmera","Grampians","Riverina","Midlands"],"Pod curvature":["straight","slightly curved","curved"],"Phyllode curvature":["straight","shallowly recurved","shallowly incurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"Sepal fusion":["free to base","very shortly united","clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["simple","racemose"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["coarsely pungent","not pungent"]},"Acacia beckleri":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["present"],"Branchlet prickles":["absent"],"State distribution":["S.A.","N.S.W."],"Phyllode cross-section":["flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode colour":["sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["pruinose","not pruinose"],"S.A. botanical regions":["Gairdner-Torrens","Flinders Ranges","Eastern","Eyre Peninsula","Murray"],"Phyllode shape":["linear","narrowly elliptic to orbicular","narrowly oblong to oblong"],"Funicle":["not encircling seed"],"Phyllode midrib position":["central","markedly excentric"],"Growth form":["erect shrub"],"Pod shape":["linear"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight","slightly curved","curved"],"N.S.W. botanical regions":["South Western Plains","North Far Western Plains","South Far Western Plains"],"Phyllode curvature":["straight","shallowly incurved","strongly incurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["simple","racemose"],"Peduncle hairs (orientation)":["appressed"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia pycnantha":{"Phyllode surface features (punctae)":["not punctate"],"Branchlet prickles":["absent"],"Peduncle hairs (presence)":["absent"],"State distribution":["W.A.","S.A.","N.S.W.","A.C.T.","Vic.","Tas."],"Phyllode cross-section":["flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular","obloid to ellipsoid"],"Aril colour":["white to cream"],"Branchlet axillary spines":["absent"],"Phyllode colour":["green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["pruinose","not pruinose"],"S.A. botanical regions":["Flinders Ranges","Eastern","Eyre Peninsula","Northern Lofty","Murray","Yorke Peninsula","Southern Lofty","Kangaroo Island","South Eastern"],"Phyllode shape":["narrowly elliptic to orbicular","oblanceolate to obovate"],"Funicle":["not encircling seed"],"Phyllode shape (special)":["falcate","sub-falcate","not falcate, sub-falcate or dimidiate"],"Phyllode midrib position":["central"],"Pod shape":["linear"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Vic. botanical regions":["Murray Mallee","Lowan Mallee","Wimmera","Wannon","Grampians","Riverina","Midlands","Volcanic Plain","Otway Plain","Eastern Highlands & Snowfields","Gippsland Plain","East Gippsland"],"Pod curvature":["straight"],"N.S.W. botanical regions":["Central Coast","Southern Tablelands","North Western Slopes","Central Western Slopes","South Western Slopes","South Western Plains","South Far Western Plains"],"Phyllode curvature":["straight","shallowly recurved","strongly recurved"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"W.A. botanical regions":["South-western","Avon Wheatbelt","South-eastern"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["racemose","paniculate"],"Gland connected to midrib by nerve (phyllodes)":["yes","no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia hakeoides":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent","present"],"Branchlet prickles":["absent"],"State distribution":["W.A.","S.A.","Qld","N.S.W.","Vic."],"Phyllode cross-section":["flat"],"Qld botanical regions":["Darling Downs"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode colour":["green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"S.A. botanical regions":["Nullarbor","Flinders Ranges","Eastern","Eyre Peninsula","Northern Lofty","Murray","Yorke Peninsula","Southern Lofty","South Eastern"],"Phyllode shape":["linear","oblanceolate to obovate"],"Funicle":["not encircling seed"],"Phyllode midrib position":["central","markedly excentric"],"Pod shape":["linear","sub-moniliform","moniliform"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Vic. botanical regions":["Murray Mallee","Lowan Mallee","Wimmera","Grampians","Riverina","Midlands"],"Pod curvature":["curved"],"N.S.W. botanical regions":["Central Coast","Central Tablelands","North Western Slopes","Central Western Slopes","South Western Slopes","North Western Plains","South Western Plains","North Far Western Plains","South Far Western Plains"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"W.A. botanical regions":["South-eastern","Coolgardie"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["racemose"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia hakeoides19h":null,"Acacia neriifolia8n":null,"Acacia pravissima":{"Phyllode surface features (punctae)":["not punctate"],"Branchlet prickles":["absent"],"Peduncle hairs (presence)":["absent"],"State distribution":["N.S.W.","A.C.T.","Vic."],"Phyllode cross-section":["flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Aril colour":["white to cream"],"Branchlet axillary spines":["absent"],"Phyllode colour":["sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["triangular"],"Funicle":["not encircling seed"],"Phyllode shape (special)":["dimidiate"],"Phyllode midrib position":["central","markedly excentric"],"Pod shape":["narrowly oblong"],"Growth form":["tree","erect shrub"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Vic. botanical regions":["Midlands","Eastern Highlands & Snowfields","Gippsland Plain","East Gippsland"],"Pod curvature":["straight","slightly curved"],"N.S.W. botanical regions":["South Coast","Southern Tablelands","South Western Slopes"],"Phyllode curvature":["straight"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent","few"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["present","absent"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved"],"Phyllode nerve no. (flat phyllodes)":["1 per face","2 per face","3 per face"],"Inflorescence arrangement":["racemose"],"Ovary hairs":["absent"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["coarsely pungent","not pungent"],"Branchlet hairs (orientation)":["widely spreading"]},"Acacia cultriformis":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["Qld","N.S.W.","A.C.T."],"Phyllode cross-section":["flat"],"Qld botanical regions":["Darling Downs"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular","obloid to ellipsoid","cylindrical"],"Branchlet axillary spines":["absent"],"Phyllode colour":["glaucous or grey","sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["pruinose","not pruinose"],"Phyllode shape":["triangular"],"Funicle":["not encircling seed"],"Phyllode shape (special)":["dimidiate"],"Phyllode midrib position":["central","markedly excentric"],"Growth form":["erect shrub","prostrate shrub"],"Pod shape":["linear","narrowly oblong"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight","slightly curved"],"N.S.W. botanical regions":["North Coast","Central Coast","North Western Slopes","Central Western Slopes","South Western Slopes","North Western Plains"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["racemose"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia falcata4f":null,"Acacia mearnsii":{"Rachilla glands (presence)":["present","absent"],"Branchlet prickles":["absent"],"Peduncle hairs (presence)":["present"],"State distribution":["W.A.","S.A.","N.S.W.","A.C.T.","Vic.","Tas."],"Jugary glands (position)":["present between all pairs of pinnae"],"Leaflet colour (lower surface)":["same as upper surface","slightly paler than upper surface"],"Inflorescence colour":["white to cream","pale yellow"],"Stipule pungency":["not pungent"],"Foliage type":["bipinnate"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Leaflet shape":["narrowly oblong","oblong","obovate to oblanceolate"],"Calyx lobe shape":["triangular to broadly triangular"],"Branchlet pruinosity":["not pruinose"],"S.A. botanical regions":["Eyre Peninsula","Southern Lofty","South Eastern"],"Funicle":["not encircling seed"],"Leaflet hairs (presence)":["present"],"New shoot hairs (presence)":["present"],"Growth form":["tree","erect shrub"],"Pod shape":["linear","narrowly oblong","sub-moniliform"],"Peduncle involucre":["absent"],"Vic. botanical regions":["Wannon","Grampians","Riverina","Midlands","Volcanic Plain","Otway Plain","Otway Ra.","Eastern Highlands & Snowfields","Gippsland Plain","Gippsland Highlands","Wilsons Promontory","East Gippsland"],"Pod curvature":["straight","slightly curved"],"N.S.W. botanical regions":["North Coast","Central Coast","South Coast","Central Tablelands","Southern Tablelands"],"Interjugary glands (presence)":["present","absent"],"Leaflet colour (upper surface)":["green"],"Aril development":["well developed"],"Pod hairs":["present"],"Bark":["not Minni Ritchi"],"Leaflets cross-section":["flat or almost so"],"Branchlet hairs (presence)":["present"],"W.A. botanical regions":["South-western"],"New shoot colour":["yellow","green"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Petiolar glands (presence)":["present"],"Inflorescence arrangement":["racemose","paniculate"],"Ovary hairs":["present"],"Leaflet hairs (position)":["on both surfaces","on lower surface"],"Seed orientation (in pods)":["longitudinal"],"Branchlet hairs (orientation)":["widely spreading"],"Jugary glands (presence)":["present"]},"Acacia deanei20d":null,"Acacia muelleriana":{"Rachilla glands (presence)":["present"],"Branchlet prickles":["absent"],"Peduncle hairs (presence)":["absent"],"State distribution":["Qld","N.S.W."],"Jugary glands (position)":["present between all pairs of pinnae","present between the lower pair(s) of pinnae"],"Qld botanical regions":["Burnett","Warrego","Maranoa","Darling Downs","Moreton"],"Leaflet colour (lower surface)":["same as upper surface"],"Inflorescence colour":["white to cream"],"Stipule pungency":["not pungent"],"Foliage type":["bipinnate"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Aril colour":["white to cream","brown"],"Branchlet axillary spines":["absent"],"Leaflet shape":["linear"],"Calyx lobe shape":["triangular to broadly triangular","rounded"],"Branchlet pruinosity":["not pruinose"],"Funicle":["not encircling seed"],"Leaflet hairs (presence)":["absent"],"New shoot hairs (presence)":["absent"],"Growth form":["tree","erect shrub"],"Pod shape":["linear","narrowly oblong","sub-moniliform","moniliform"],"Peduncle involucre":["absent"],"Pod curvature":["straight","slightly curved","curved"],"N.S.W. botanical regions":["Northern Tablelands","Central Western Slopes"],"Interjugary glands (presence)":["present","absent"],"Leaflet colour (upper surface)":["green"],"Aril development":["well developed"],"Pod hairs":["absent","present"],"Bark":["not Minni Ritchi"],"Leaflets cross-section":["flat or almost so","recurved or incurved"],"Branchlet hairs (presence)":["present","absent"],"New shoot colour":["green"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Petiolar glands (presence)":["present"],"Inflorescence arrangement":["racemose","paniculate"],"Ovary hairs":["absent"],"Seed orientation (in pods)":["longitudinal"],"Branchlet hairs (orientation)":["widely spreading"],"Jugary glands (presence)":["present"]},"Acacia linifolia":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent","present"],"Branchlet prickles":["absent"],"State distribution":["N.S.W."],"Phyllode cross-section":["terete","sub-terete","flat"],"Inflorescence colour":["white to cream","pale yellow","lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["not pruinose"],"Phyllode shape":["linear"],"Funicle":["not encircling seed"],"Phyllode nerve no. (non-flat phyllodes)":["four"],"Phyllode midrib position":["central"],"Growth form":["erect shrub"],"Pod shape":["linear"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["straight"],"N.S.W. botanical regions":["North Coast","Central Coast","Central Tablelands"],"Aril development":["well developed"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["present","absent"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["absent","1 per face"],"Inflorescence arrangement":["racemose"],"Ovary hairs":["absent"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["not pungent"]},"Acacia spectabilis":{"Rachilla glands (presence)":["absent"],"Branchlet prickles":["absent"],"Peduncle hairs (presence)":["absent"],"State distribution":["Qld","N.S.W."],"Jugary glands (position)":["present between the upper pair(s) of pinnae"],"Qld botanical regions":["Burnett","Warrego","Maranoa","Darling Downs","Moreton"],"Leaflet colour (lower surface)":["same as upper surface"],"Inflorescence colour":["lemon yellow to golden"],"Stipule pungency":["not pungent"],"Foliage type":["bipinnate"],"Raceme basal bracts (or bract scars)":["absent"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Aril colour":["yellow"],"Branchlet axillary spines":["absent"],"Leaflet shape":["oblong","obovate to oblanceolate"],"Calyx lobe shape":["spathulate to oblanceolate","triangular to broadly triangular","rounded"],"Branchlet pruinosity":["pruinose","not pruinose"],"Funicle":["not encircling seed"],"Leaflet hairs (presence)":["absent"],"New shoot hairs (presence)":["absent","present"],"Growth form":["tree","erect shrub"],"Pod shape":["narrowly oblong"],"Peduncle involucre":["absent"],"Pod curvature":["straight","slightly curved","curved"],"N.S.W. botanical regions":["North Coast","Central Coast","Central Tablelands","North Western Slopes","Central Western Slopes","North Western Plains"],"Interjugary glands (presence)":["absent"],"Leaflet colour (upper surface)":["grey green to sub-glaucous","glaucous"],"Aril development":["well developed"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Leaflets cross-section":["flat or almost so"],"Branchlet hairs (presence)":["present","absent"],"New shoot colour":["white","cream","green","blue-green","red"],"Sepal fusion":["clearly united"],"Petal nervation":["1-nerved"],"Petiolar glands (presence)":["present","absent"],"Inflorescence arrangement":["racemose","paniculate"],"Ovary hairs":["absent"],"Seed orientation (in pods)":["longitudinal"],"Branchlet hairs (orientation)":["widely spreading"],"Jugary glands (presence)":["present","absent"]},"Acacia dealbata3d":null,"Acacia dealbata":null,"Acacia dorothea40d":null,"Acacia penninervis":null,"Acacia hemiteles":{"Phyllode surface features (punctae)":["not punctate"],"Peduncle hairs (presence)":["absent"],"Branchlet prickles":["absent"],"State distribution":["W.A.","S.A."],"Phyllode cross-section":["flat"],"Inflorescence colour":["lemon yellow to golden"],"Phyllode hairs (presence)":["absent"],"Stipule pungency":["not pungent"],"Foliage type":["phyllodes"],"Raceme basal bracts (or bract scars)":["present"],"Branchlet tip pungency":["not pungent"],"Inflorescence shape":["globular"],"Branchlet axillary spines":["absent"],"Phyllode colour":["glaucous or grey","sub-glaucous to grey-green","green"],"Pulvinus (presence)":["present"],"Branchlet pruinosity":["pruinose","not pruinose"],"S.A. botanical regions":["Nullarbor"],"Phyllode shape":["linear","narrowly elliptic to orbicular","narrowly oblong to oblong"],"Funicle":["not encircling seed"],"Growth form":["erect shrub"],"Pod shape":["narrowly oblong"],"Peduncle involucre":["absent"],"Gland at apex of phyllodes":["absent"],"Pod curvature":["slightly curved","curved","openly coiled"],"Phyllode curvature":["straight","shallowly recurved","strongly recurved"],"Aril development":["absent"],"Phyllode nerve anastomoses":["absent"],"Pod hairs":["absent"],"Bark":["not Minni Ritchi"],"Phyllode arrangement":["scattered"],"Branchlet hairs (presence)":["absent"],"W.A. botanical regions":["South-western","Avon Wheatbelt","South-eastern","Nullarbor","Coolgardie","Murchison","Carnarvon","Great Victoria Desert"],"Sepal fusion":["free to base"],"Petal nervation":["1-nerved","nerveless"],"Phyllode nerve no. (flat phyllodes)":["1 per face"],"Inflorescence arrangement":["racemose"],"Gland connected to midrib by nerve (phyllodes)":["no"],"Seed orientation (in pods)":["longitudinal"],"Phyllode base (decurrence)":["not continuous with branchlets"],"Phyllode apex (pungency)":["sharply pungent","coarsely pungent","not pungent"]}}',
                    tree:  '((((((((((((Acacia_deanei20d:0.029395999999999978,Acacia_mearnsii:0.04198500000000005,Acacia_mearnsii:0.009386000000000005):0.025534000000000057,Acacia_muelleriana:0.05095799999999995):0.009724999999999984,(Acacia_dealbata3d:0.013597999999999999,Acacia_dealbata:0.04765799999999998):0.06518100000000004,(Acacia_linifolia:0.053427,Acacia_spectabilis:0.07935999999999999):0.03228399999999998):0.011299999999999977,Acacia_dorothea40d:0.04428500000000002):0.025370000000000004,(Acacia_penninervis:0.010780000000000012,Acacia_penninervis:0.013546999999999976):0.027490000000000014):0.022839000000000054,((Acacia_cultriformis:0.051591000000000053,Acacia_falcata4f:0.067639):0.036248999999999976,(Acacia_neriifolia8n:0.05405700000000002,Acacia_pravissima:0.08901599999999998):0.035804999999999976):0.01113900000000001):0.08552600000000005,((((Acacia_amblyophylla:0.191411,Acacia_meissneri:0.036506999999999956):0.023009000000000057,Acacia_anceps:0.09021299999999999):0.034943999999999975,Acacia_euthycarpa:0.067473):0.009916000000000036,(Acacia_beckleri:0.07366899999999998,Acacia_pycnantha:0.07797299999999996):0.03950200000000004,(Acacia_hakeoides19h:0.06449499999999997,Acacia_hakeoides:0.05915199999999998):0.04348099999999999):0.024106000000000016):0.14326599999999995,((((((Acacia_aneura12a:0.06850299999999998,Acacia_aneura:0.185102):0.11921999999999999,(Acacia_gonoclada:0.13806600000000002,Acacia_holosericea:0.09942899999999999):0.047653999999999974):0.023492999999999986,(Acacia_abbreviata:0.175033,Acacia_crassicarpa:0.10139299999999996):0.06082900000000002):0.032843999999999984,Acacia_multispicata:0.147733):0.05070999999999992,(Acacia_floribunda7fl:0.15847300000000003,Acacia_triptera18t:0.13394199999999995):0.02024699999999996):0.046435000000000004,(((Acacia_cognata:0.298748,Acacia_flexifolia6f:0.06810700000000003):0.039027000000000034,(Acacia_venulosa:0.10495200000000005,Acacia_viscidula:0.12380199999999997):0.03825400000000001):0.01595599999999997,(Acacia_baeuerlenii22b:0.14029000000000003,Acacia_melanoxylon:0.16516799999999998):0.04455399999999998):0.11580999999999997):0.04352299999999998):0.12480200000000008,(((Acacia_murrayana:0.271116,Acacia_pachyacra:0.08749700000000005):0.09907100000000002,Acacia_subrigida:0.33091000000000004):0.17799300000000007,(Acacia_suaveolens:0.595355,Acacia_triquetra:0.349507):0.06649000000000005):0.06937499999999996):0.04425599999999996,(((((((Acacia_leioderma:0.09380500000000003,Acacia_pentadenia:0.09877999999999998):0.218746,(Acacia_hemiteles:0.08961200000000002,Acacia_guinetii:0.11649100000000001):0.20321999999999996):0.11906499999999998,(Acacia_adoxa:0.05807399999999996,Acacia_perryi:0.06811599999999995):0.2606519999999999):0.03101300000000007,Acacia_pravifolia39p:0.27304800000000007):0.03586199999999995,((Acacia_cupularis:0.039309999999999956,Acacia_ligulata:0.02492300000000003):0.19357899999999995,Acacia_rostellifera:0.245108):0.22407599999999994):0.048131000000000035,Acacia_extensa:0.28929799999999994):0.02978499999999995,((Acacia_saligna:0.10582400000000003,Acacia_saligna:0.06461700000000004):0.21633999999999998,Acacia_alata:0.35306400000000004):0.08363799999999999):0.06725000000000003):0.03506100000000001,((Acacia_dempsteri:0.187512,Acacia_pyrifolia:0.12982800000000005):0.08194299999999999,Acacia_victoriae:0.42759500000000006):0.21501400000000004):0.0698625,(Acacia_parach:0.247707,Acacia_paraser:0.646114):0.0698625);((((((((((((Acacia_deanei20d:0.029396,Acacia_mearnsii:0.041985,Acacia_mearnsii:0.009386):0.025534,Acacia_muelleriana:0.050958):0.009725,(Acacia_dealbata3d:0.013598,Acacia_dealbata:0.047658):0.065181,(Acacia_linifolia:0.053427,Acacia_spectabilis:0.07936):0.032284):0.0113,Acacia_dorothea40d:0.044285):0.02537,(Acacia_penninervis:0.01078,Acacia_penninervis:0.013547):0.02749):0.022839,((Acacia_cultriformis:0.051591,Acacia_falcata4f:0.067639):0.036249,(Acacia_neriifolia8n:0.054057,Acacia_pravissima:0.089016):0.035805):0.011139):0.085526,((((Acacia_amblyophylla:0.191411,Acacia_meissneri:0.036507):0.023009,Acacia_anceps:0.090213):0.034944,Acacia_euthycarpa:0.067473):0.009916,(Acacia_beckleri:0.073669,Acacia_pycnantha:0.077973):0.039502,(Acacia_hakeoides19h:0.064495,Acacia_hakeoides:0.059152):0.043481):0.024106):0.143266,((((((Acacia_aneura12a:0.068503,Acacia_aneura:0.185102):0.11922,(Acacia_gonoclada:0.138066,Acacia_holosericea:0.099429):0.047654):0.023493,(Acacia_abbreviata:0.175033,Acacia_crassicarpa:0.101393):0.060829):0.032844,Acacia_multispicata:0.147733):0.05071,(Acacia_floribunda7fl:0.158473,Acacia_triptera18t:0.133942):0.020247):0.046435,(((Acacia_cognata:0.298748,Acacia_flexifolia6f:0.068107):0.039027,(Acacia_venulosa:0.104952,Acacia_viscidula:0.123802):0.038254):0.015956,(Acacia_baeuerlenii22b:0.14029,Acacia_melanoxylon:0.165168):0.044554):0.11581):0.043523):0.124802,(((Acacia_murrayana:0.271116,Acacia_pachyacra:0.087497):0.099071,Acacia_subrigida:0.33091):0.177993,(Acacia_suaveolens:0.595355,Acacia_triquetra:0.349507):0.06649):0.069375):0.044256,(((((((Acacia_leioderma:0.093805,Acacia_pentadenia:0.09878):0.218746,(Acacia_hemiteles:0.089612,Acacia_guinetii:0.116491):0.20322):0.119065,(Acacia_adoxa:0.058074,Acacia_perryi:0.068116):0.260652):0.031013,Acacia_pravifolia39p:0.273048):0.035862,((Acacia_cupularis:0.03931,Acacia_ligulata:0.024923):0.193579,Acacia_rostellifera:0.245108):0.224076):0.048131,Acacia_extensa:0.289298):0.029785,((Acacia_saligna:0.105824,Acacia_saligna:0.064617):0.21634,Acacia_alata:0.353064):0.083638):0.06725):0.035061,((Acacia_dempsteri:0.187512,Acacia_pyrifolia:0.129828):0.081943,Acacia_victoriae:0.427595):0.215014):0.0698625,(Acacia_parach:0.247707,Acacia_paraser:0.646114):0.0698625);',
                    attribution: '',
                    identifyLifeDataset: "acacia"
            ).save(flush:true, failOnError: true)
        }
        Tree tree3 = Tree.findByName("Joe's Acacia Tree")
        if (!tree3) {
            log.info "Reading external JSON file"
            def characterString = ApplicationHolder.application.parentContext.getResource("classpath:resources/Acacia characters trin.json").inputStream.text
            log.info "JSON file check: " + characterString.substring(0, 500)
            log.info "Creating sample tree: Acacia Test 3"
            tree3 = new Tree(
                    name: "Joe's Acacia Tree",
                    owner: systemUser,
                    isPublic: true,
                    characters: "",
                    tree:  '((((((((((((Acacia_deanei20d:0.029395999999999978,Acacia_mearnsii:0.04198500000000005,Acacia_mearnsii:0.009386000000000005):0.025534000000000057,Acacia_muelleriana:0.05095799999999995):0.009724999999999984,(Acacia_dealbata3d:0.013597999999999999,Acacia_dealbata:0.04765799999999998):0.06518100000000004,(Acacia_linifolia:0.053427,Acacia_spectabilis:0.07935999999999999):0.03228399999999998):0.011299999999999977,Acacia_dorothea40d:0.04428500000000002):0.025370000000000004,(Acacia_penninervis:0.010780000000000012,Acacia_penninervis:0.013546999999999976):0.027490000000000014):0.022839000000000054,((Acacia_cultriformis:0.051591000000000053,Acacia_falcata4f:0.067639):0.036248999999999976,(Acacia_neriifolia8n:0.05405700000000002,Acacia_pravissima:0.08901599999999998):0.035804999999999976):0.01113900000000001):0.08552600000000005,((((Acacia_amblyophylla:0.191411,Acacia_meissneri:0.036506999999999956):0.023009000000000057,Acacia_anceps:0.09021299999999999):0.034943999999999975,Acacia_euthycarpa:0.067473):0.009916000000000036,(Acacia_beckleri:0.07366899999999998,Acacia_pycnantha:0.07797299999999996):0.03950200000000004,(Acacia_hakeoides19h:0.06449499999999997,Acacia_hakeoides:0.05915199999999998):0.04348099999999999):0.024106000000000016):0.14326599999999995,((((((Acacia_aneura12a:0.06850299999999998,Acacia_aneura:0.185102):0.11921999999999999,(Acacia_gonoclada:0.13806600000000002,Acacia_holosericea:0.09942899999999999):0.047653999999999974):0.023492999999999986,(Acacia_abbreviata:0.175033,Acacia_crassicarpa:0.10139299999999996):0.06082900000000002):0.032843999999999984,Acacia_multispicata:0.147733):0.05070999999999992,(Acacia_floribunda7fl:0.15847300000000003,Acacia_triptera18t:0.13394199999999995):0.02024699999999996):0.046435000000000004,(((Acacia_cognata:0.298748,Acacia_flexifolia6f:0.06810700000000003):0.039027000000000034,(Acacia_venulosa:0.10495200000000005,Acacia_viscidula:0.12380199999999997):0.03825400000000001):0.01595599999999997,(Acacia_baeuerlenii22b:0.14029000000000003,Acacia_melanoxylon:0.16516799999999998):0.04455399999999998):0.11580999999999997):0.04352299999999998):0.12480200000000008,(((Acacia_murrayana:0.271116,Acacia_pachyacra:0.08749700000000005):0.09907100000000002,Acacia_subrigida:0.33091000000000004):0.17799300000000007,(Acacia_suaveolens:0.595355,Acacia_triquetra:0.349507):0.06649000000000005):0.06937499999999996):0.04425599999999996,(((((((Acacia_leioderma:0.09380500000000003,Acacia_pentadenia:0.09877999999999998):0.218746,(Acacia_hemiteles:0.08961200000000002,Acacia_guinetii:0.11649100000000001):0.20321999999999996):0.11906499999999998,(Acacia_adoxa:0.05807399999999996,Acacia_perryi:0.06811599999999995):0.2606519999999999):0.03101300000000007,Acacia_pravifolia39p:0.27304800000000007):0.03586199999999995,((Acacia_cupularis:0.039309999999999956,Acacia_ligulata:0.02492300000000003):0.19357899999999995,Acacia_rostellifera:0.245108):0.22407599999999994):0.048131000000000035,Acacia_extensa:0.28929799999999994):0.02978499999999995,((Acacia_saligna:0.10582400000000003,Acacia_saligna:0.06461700000000004):0.21633999999999998,Acacia_alata:0.35306400000000004):0.08363799999999999):0.06725000000000003):0.03506100000000001,((Acacia_dempsteri:0.187512,Acacia_pyrifolia:0.12982800000000005):0.08194299999999999,Acacia_victoriae:0.42759500000000006):0.21501400000000004):0.0698625,(Acacia_parach:0.247707,Acacia_paraser:0.646114):0.0698625);((((((((((((Acacia_deanei20d:0.029396,Acacia_mearnsii:0.041985,Acacia_mearnsii:0.009386):0.025534,Acacia_muelleriana:0.050958):0.009725,(Acacia_dealbata3d:0.013598,Acacia_dealbata:0.047658):0.065181,(Acacia_linifolia:0.053427,Acacia_spectabilis:0.07936):0.032284):0.0113,Acacia_dorothea40d:0.044285):0.02537,(Acacia_penninervis:0.01078,Acacia_penninervis:0.013547):0.02749):0.022839,((Acacia_cultriformis:0.051591,Acacia_falcata4f:0.067639):0.036249,(Acacia_neriifolia8n:0.054057,Acacia_pravissima:0.089016):0.035805):0.011139):0.085526,((((Acacia_amblyophylla:0.191411,Acacia_meissneri:0.036507):0.023009,Acacia_anceps:0.090213):0.034944,Acacia_euthycarpa:0.067473):0.009916,(Acacia_beckleri:0.073669,Acacia_pycnantha:0.077973):0.039502,(Acacia_hakeoides19h:0.064495,Acacia_hakeoides:0.059152):0.043481):0.024106):0.143266,((((((Acacia_aneura12a:0.068503,Acacia_aneura:0.185102):0.11922,(Acacia_gonoclada:0.138066,Acacia_holosericea:0.099429):0.047654):0.023493,(Acacia_abbreviata:0.175033,Acacia_crassicarpa:0.101393):0.060829):0.032844,Acacia_multispicata:0.147733):0.05071,(Acacia_floribunda7fl:0.158473,Acacia_triptera18t:0.133942):0.020247):0.046435,(((Acacia_cognata:0.298748,Acacia_flexifolia6f:0.068107):0.039027,(Acacia_venulosa:0.104952,Acacia_viscidula:0.123802):0.038254):0.015956,(Acacia_baeuerlenii22b:0.14029,Acacia_melanoxylon:0.165168):0.044554):0.11581):0.043523):0.124802,(((Acacia_murrayana:0.271116,Acacia_pachyacra:0.087497):0.099071,Acacia_subrigida:0.33091):0.177993,(Acacia_suaveolens:0.595355,Acacia_triquetra:0.349507):0.06649):0.069375):0.044256,(((((((Acacia_leioderma:0.093805,Acacia_pentadenia:0.09878):0.218746,(Acacia_hemiteles:0.089612,Acacia_guinetii:0.116491):0.20322):0.119065,(Acacia_adoxa:0.058074,Acacia_perryi:0.068116):0.260652):0.031013,Acacia_pravifolia39p:0.273048):0.035862,((Acacia_cupularis:0.03931,Acacia_ligulata:0.024923):0.193579,Acacia_rostellifera:0.245108):0.224076):0.048131,Acacia_extensa:0.289298):0.029785,((Acacia_saligna:0.105824,Acacia_saligna:0.064617):0.21634,Acacia_alata:0.353064):0.083638):0.06725):0.035061,((Acacia_dempsteri:0.187512,Acacia_pyrifolia:0.129828):0.081943,Acacia_victoriae:0.427595):0.215014):0.0698625,(Acacia_parach:0.247707,Acacia_paraser:0.646114):0.0698625);',
                    attribution: 'Tree provided by Joe Miller',
                    identifyLifeDataset: "acacia"
            ).save(flush:true, failOnError: true)
            log.info "Adding characters to Acacia Test 3"
            tree3.characters = characterString
            tree3.save(flush:true, failOnError: true)
            log.info "Finished saving sample tree: Acacia Test 3"
        }
        Tree tree4 = Tree.findByName('Big Acacia Tree')
        if (!tree4) {
            def title = "Big Acacia Tree"
            log.info "Reading external JSON file"
            def characterString = ApplicationHolder.application.parentContext.getResource("classpath:resources/Acacia characters trin.json").inputStream.text
            log.info "JSON file check: " + characterString.substring(0, 500)
            log.info "Creating sample tree: " + title
            tree4 = new Tree(
                    name: title,
                    owner: systemUser,
                    isPublic: false,
                    characters: "",
                    attribution: "Tree provided by Joe Miller, CSIRO",
                    identifyLifeDataset: "acacia",
                    tree:  '((Parachidendron_pruinosum:0.040978488177549344,Paraserianthes_lopantha:0.034642564085327066):0.008225411728531277,(((Acacia_semicircinalis:0.03434179368091353,(Acacia_adinophylla:0.01786382226553121,(Acacia_aphanoclada:0.027802263108902575,(Acacia_inaequilatera:0.01558390456025574,Acacia_marramamba:0.019601969790913026):0.023018559219676327):0.014929592849143497):0.0024442849929099675):0.008683811906470024,(((Acacia_cuspidifolia:0.06299943514895329,Acacia_pickardii:0.01645944311692754):0.0121585186823992,(Acacia_dempsteri:0.032566025955212574,(Acacia_pyrifolia:0.0071452531601057245,Acacia_strongylophylla:0.017164465366973608):0.01722271161462388):0.008314975195505336):0.003341081648040589,(Acacia_congesta:0.030736020930088787,(Acacia_victoriae:0.02555846916881857,(Acacia_alexandri:0.036609094620088156,(Acacia_synchronicia:0.024009300466707933,(Acacia_ryaniana:0.009268657025450128,Acacia_chartacea:0.009124716185091142):0.009892444026079472):0.0036195262494598535):0.002983001274919461):0.007431997754654834):0.0038963238393163457):0.003447095776264786):0.020710644515367083,((Acacia_bakeri:0.0406532246060356,(Acacia_saligna:0.01605706157497258,Acacia_gregorii:0.04666711879741278):0.0122988067128805):0.013003540227849025,(((Acacia_longispinea:0.03535433588997847,(Acacia_carnosula:0.021520197611476832,Acacia_aculeatissima:0.025735958495406053):0.0010528301840497245):0.0056303380579131035,((Acacia_complanata:0.0160112409703069,(Acacia_hylonoma:0.10026443746155886,(Acacia_simsii:0.004790599615874552,Acacia_multisiliqua:0.003129044232120043):0.01034191936194534):0.010455294514837787):0.008435259842535348,(Acacia_obtecta:0.05318924678026335,(Acacia_siculiformis:0.17440277817272173,(Acacia_maitlandii:0.030310041798124243,(Acacia_excelsa:0.0034742163874285914,Acacia_estrophiolata:0.01749088750396316):0.036188298217544324):0.003970538247807104):0.0022009634031501524):0.0021795799679573125):0.01037196303517321):0.018474860907340795,((((((Acacia_amblygona:0.017925994235234805,Acacia_pravifolia:0.009076830450001239):0.00852214519415262,(Acacia_continua:0.01339727698064161,Acacia_spinescens:0.05816657976695):0.02765301032108522):0.016886024354797108,((Acacia_basedowii:0.017267858649590212,Acacia_oxyclada:0.005269222752839808):0.011530549489063152,(Acacia_acutata:0.010688388737661064,Acacia_acanthoclada:0.018256097900031576):0.012797660709407938):0.012622789248035476):0.014730560543512738,((Acacia_woodmaniorum:0.015012467086362752,(Acacia_pterocaulon:0.019905281039812678,Acacia_aphylla:0.03617370600329728):0.004481211513419681):0.015656464036991585,(Acacia_ashbyae:0.03632111515778433,((Acacia_ampliceps:0.004258070238647604,Acacia_salicina:0.008331830159986536):0.005016461315367399,((Acacia_telmica:0.014036826294914068,Acacia_cupularis:0.0038513370210943865):0.0022547615529197595,((Acacia_bidentata:0.024279244424319057,Acacia_tysonii:0.005775146283977378):0.007429297874933377,(Acacia_bivenosa:0.014881014956115823,((Acacia_didyma:7.15157311287351E-7,Acacia_ligulata:0.006351933899563622):7.15157311287351E-7,(Acacia_rostellifera:0.0022462698910826195,Acacia_xanthina:0.004146955725092855):7.547059296713343E-4):7.446103031933105E-4):0.0025933226155194777):0.0041335404967143274):7.901191593841506E-4):0.012861328579005737):0.03130129809121324):0.003100241594786196):0.005708458962146279,(((Acacia_spathulifolia:0.03310097466922879,(Acacia_scirpifolia:7.15157311287351E-7,Acacia_blakelyi:0.014014307471595266):0.015411008694633743):0.02230477782769391,(Acacia_porcata:0.02629805015241707,(Acacia_hypermeces:0.010744102613903794,((Acacia_anasilla:0.02056845232519583,Acacia_adoxa:0.0020936898306467555):0.004322225985847333,(Acacia_lycopodiifolia:0.013256107855375565,(Acacia_asperulacea:0.005008613979308796,Acacia_perryi:0.007998414363542011):0.0017507022419782636):0.002501097319469847):0.003236661221639653):0.01233425873446553):0.013360302598167506):0.008006853623799048,((Acacia_extensa:0.03823628862691572,Acacia_gonophylla:0.025100704591826256):0.010697746627740673,((Acacia_applanata:0.07025839178387261,Acacia_alata:0.0200478751843621):0.053632202564290715,((Acacia_shuttleworthii:0.021965368068940977,(Acacia_pentadenia:0.016368303625869274,(Acacia_browniana:0.018042432907854594,(Acacia_empelioclada:0.010505603036224748,(Acacia_nigricans:0.003884992533128212,(Acacia_gilbertii:0.007252507476955272,Acacia_leioderma:0.011650934453316025):0.005194117348315097):0.0012518548226619075):0.003879075746190813):0.004237123170198864):0.024078460499485338):0.012010132730842893,(((Acacia_epacantha:0.016228161782737116,Acacia_fagonioides:0.016206507203780307):0.0029864288459414134,(Acacia_pulchella:0.06050673088358763,(Acacia_drummondii:0.010672510183989375,Acacia_guinetii:0.0018185552327708576):0.006973733623335865):0.00405998424949075):0.04008422036809639,(Acacia_jacksonioides:0.054671686099938444,(Acacia_pygmaea:0.04760423795325733,((Acacia_incrassata:0.05130742586295528,(Acacia_biflora:0.015541918908888258,Acacia_phlebopetala:0.019345968925610607):0.02632719017708529):0.015880867519423802,((Acacia_heterochroa:0.021595057732055306,Acacia_clydonophora_:0.019128566941978814):7.15157311287351E-7,(Acacia_celastrifolia:0.018065445530626584,Acacia_myrtifolia:0.02707634839929865):0.03347077135399404):0.01928516068144942):0.0023339790599610777):0.00857516209412651):7.151573112595955E-7):0.008733869067675648):0.006309741695870508):0.0073390707270503674):0.0029010117656092516):0.004153552620170475):0.01202938461266781,((((Acacia_gelasina:0.010231669524384451,Acacia_subrigida:0.021778697850626805):0.01006278091785981,(Acacia_praelongata:0.017668556065794316,(Acacia_pachyacra:0.003283743265044714,Acacia_murrayana:0.006121968945630829):0.005859561095976851):0.01162471271454546):0.019550045875188216,((Acacia_imbricata:0.006926792870763893,(Acacia_triquetra:0.003850073330251641,Acacia_acinacea:0.009023220013489985):0.002276921197479187):0.04475727846523875,((Acacia_iteaphylla:0.0190571755297147,Acacia_suaveolens:0.01783057002233962):0.029755618606384565,(Acacia_anthochaera:0.0029167277226607724,(Acacia_camptoclada:0.014672369241857414,Acacia_prainii:0.0031749726745148588):9.5936227520238E-4):0.01081278395654614):0.015977009424507166):0.009610287613573715):0.008660442668027457,(Acacia_peuce:0.03956131880247779,(((Acacia_subsessilis:0.00494234092138357,Acacia_diallaga:6.540957946330472E-4):0.05278193435114814,((Acacia_ixodes:0.0229703516797842,(Acacia_calantha:0.009393897508872762,(Acacia_melleodora:0.01118902346685638,(Acacia_jensenii:0.03251725600295774,(Acacia_sabulosa:7.15157311287351E-7,Acacia_dictyophleba:0.0114547947814235):6.701435501387798E-4):0.0015926917284676823):0.012839062042622529):0.007348621626485197):0.01986833756695333,(((Acacia_benthamii:0.002707351970299171,Acacia_acuaria:7.15157311287351E-7):0.03563440470657428,((Acacia_cavealis:0.021941345411860547,Acacia_auronitens:0.013017030624251663):0.024373817681719673,(Acacia_latipes:7.15157311287351E-7,(Acacia_adnata:0.002877923436760993,Acacia_cochlearis:0.014156476761237324):0.006239207446078199):0.03226685938030391):0.003155599196906139):0.012092049970587382,((Acacia_acanthaster:0.025007855622370012,Acacia_tetragonophylla:0.017154187956419792):0.004316091594026572,((Acacia_declinata:0.007659238099206156,Acacia_curvata:0.019062749951179375):0.01611699523766083,(Acacia_leptoneura:0.051263568566665446,(Acacia_campylophylla:0.019061322030982764,(Acacia_aulacophylla:0.0053110231407460795,(Acacia_heteroclita:0.0033738888749820506,((Acacia_brachyphylla:0.016030530942523796,Acacia_fragilis:0.006247307607614161):0.0024315830875908384,(Acacia_stanleyi:7.15157311287351E-7,Acacia_assimilis:0.003038968657613522):0.010389084436872892):7.151573113151066E-7):0.001136887174962714):0.001697160745615739):0.005267508544892829):0.007245718506591808):0.002311859232020569):0.0044361526867040535):0.008817540649392386):0.003751571825797939):0.0012967877038015385,(((Acacia_saxatilis:0.021011571624042075,(Acacia_bracteolata:0.010056567345221035,(Acacia_carneorum:0.019820225453609175,Acacia_atrox:0.005763760331033957):0.009652616970450667):0.013996745266236038):0.002012456856871625,((Acacia_pruinocarpa:0.0390025393597572,(Acacia_hystrix:0.029753432164970534,((Acacia_rhamphophylla:0.012529716389725998,(Acacia_glaucoptera:0.003502058717498674,Acacia_bifaria:0.004366491887237645):0.0022110912968059115):0.007718263560336225,(Acacia_excentrica:0.007147236040019628,(Acacia_halliana:0.01576352078953691,(Acacia_acoma:0.004850428103737703,Acacia_glaucissima:0.011570376548308059):0.0052458500364122584):0.003121167761262311):0.0037414275897788007):0.014704566958374687):0.004665750074746955):4.1985129338717453E-4,((Acacia_latescens:0.016487543532395454,((Acacia_platycarpa:0.005110703890665341,Acacia_dunnii:0.013342405576972555):0.008870756628970966,(Acacia_retivenea:0.006199667356323629,Acacia_auricoma:0.01773794231876963):0.006132146850814341):0.016868635623946193):0.02640973019485246,(Acacia_andrewsii:0.01945215674524478,(Acacia_baxteri:0.03439913531163896,((Acacia_cedroides:0.023312622275100642,(Acacia_costata:0.02389756393436049,Acacia_ataxiphylla:0.03356764767187129):0.0012391610478653947):0.006095735330077706,(Acacia_aemula:0.00661189442945892,(Acacia_huegelii:0.030151277415431943,(Acacia_semitrullata:0.02697860769183752,(Acacia_kybeanensis:7.15157311287351E-7,Acacia_hastulata:7.15157311287351E-7):0.013802333034013015):0.013492700925966106):0.0011687613202290836):7.15157311287351E-7):0.004341514983867478):0.0028667980777380975):0.010123594295354199):0.00408004874066234):0.004803190455809653):0.0025901108900201475,((Acacia_spectabilis:0.025814298757074527,(Acacia_validinervia:0.030455917167735436,((((Acacia_latisepala:0.03046829068871229,Acacia_elata:0.025609962964024152):0.0027270272567139486,(Acacia_terminalis:0.03795904717781601,(Acacia_obtusata:0.013162759225385623,(Acacia_mitchellii:0.015043688187603044,Acacia_gittinsii:0.017413418094932798):0.0026674039300361163):0.008877524147034382):8.13939255688706E-4):0.0016206434087856492,(((Acacia_hakeoides:0.00871764403202574,(Acacia_brachybotrya:0.0018839699237530039,Acacia_argyrophylla:8.475312324308093E-4):0.006147596577781467):0.004020893615634513,(Acacia_gladiiformis:0.018268755515091495,(Acacia_beckleri:0.007427447868038783,(Acacia_pedina:7.151573112595955E-7,Acacia_pycnantha:0.001682617452323898):0.008222657150453894):0.003656626214569858):0.004782768603398213):7.15157311287351E-7,((Acacia_euthycarpa:0.007519039874645528,((Acacia_gillii:0.010066643850289686,Acacia_notabilis:0.004304711408569778):0.003808377693469228,(Acacia_subulata:0.006112189217185093,(Acacia_wattsiana:7.151573113151066E-7,Acacia_hemiteles:0.003132679183444953):0.0014915960367936076):0.0044590187089074695):7.151573113151066E-7):7.351310857370008E-4,(Acacia_jennerae:0.013055077937025344,((Acacia_calamifolia:0.005164490918221937,Acacia_araneosa:0.00299235369745926):0.0024719752879217016,((Acacia_aestivalis:0.0070414384733543944,Acacia_meisneri:8.401342085392893E-4):0.0015515436769412694,((Acacia_alcockii:0.011243537684789973,(Acacia_anceps:0.007257013759350506,(Acacia_nematophylla:0.009898498952199464,Acacia_retinodes:0.009597535836242899):0.0015018929286263472):0.0028491041420348195):0.004269336180900141,(Acacia_rivalis:0.006126278553946485,(Acacia_harveyi:0.003673558456826931,(Acacia_amblyophylla:0.02817463112802346,(Acacia_microbotrya:7.15157311287351E-7,Acacia_bartleana:7.15157311287351E-7):0.00781722900248552):0.0035384385041229427):1.3903275851850916E-4):6.865363419380488E-4):7.151573113151066E-7):0.0029946604804735877):7.151573113151066E-7):0.003956082367200603):8.394905408916076E-4):0.0055983997371467364):0.0014709307999059285,((Acacia_macradenia:0.01777785969549256,(Acacia_bancroftiorum:7.15157311287351E-7,Acacia_falcata:7.15157311287351E-7):0.0101175569085723):0.0052122810890926075,(Acacia_decora:0.014809431050881255,(Acacia_rubida:0.016584553508694644,((Acacia_semilunata:0.02152117127883746,(Acacia_beadleana:0.027513756203502715,(Acacia_pubicosta:0.03597978283677339,(Acacia_conferta:0.006512617956749123,Acacia_tindaleae:0.003857872093361886):0.006546789209964182):7.15157311287351E-7):0.002651888580378542):0.004461496127963288,((Acacia_cultriformis:0.012887778430722974,((Acacia_anaticeps:0.027858547135011597,Acacia_chrysotricha:0.010414519750989448):0.00983649843330553,(((Acacia_linearifolia:0.00518734163479076,Acacia_adunca:0.012630178982720147):0.004578513500855613,(Acacia_neriifolia:0.006488443046510944,(Acacia_pustula:0.0013725680771742854,Acacia_ingramii:0.008539542501865144):7.15157311287351E-7):0.0030525548810619585):0.0055329055577376385,(Acacia_leucolobia:0.00969793854294071,(Acacia_boormanii:0.011515324382404352,(Acacia_clunies_rossiae:0.003636194039952717,((Acacia_betchei:0.0026784543755022927,Acacia_perangusta:0.001158410177193786):0.0012736790734198256,(Acacia_fimbriata:0.0015303767134557111,(Acacia_prominens:7.15157311287351E-7,Acacia_pravissima:0.008599453938654356):0.008829758383279207):0.005460566960843571):8.597719221589417E-4):0.0034239411918313423):0.005223031860969091):0.007517659502881302):0.002760302966830358):0.0012044476137290094):8.696081595550575E-4,((Acacia_angusta:0.018497942588082322,Acacia_storyi:0.007660012568188546):0.0016178558691861689,(((Acacia_falciformis:0.005685684294748389,(Acacia_obliquinervia:0.005792195359215491,(Acacia_acrionastes:0.003909086725554511,(Acacia_penninervis:0.0013009595477300184,(Acacia_binata:0.005667422897905616,(Acacia_mabellae:0.0039024104246929148,Acacia_binervata:8.090509860680939E-4):0.0018332509952342368):0.0015527978795139563):7.446821535803116E-4):3.4712783613252696E-4):8.28876603932327E-4):8.179000094095945E-4,((Acacia_aureocrinita:0.0033115004486202193,Acacia_uncinata:0.0106211936194191):0.006609904953883056,(Acacia_dorothea:0.009912608774082843,(Acacia_vestita:0.00554108314328336,(Acacia_caesiella:0.022305881645962172,((Acacia_macnuttiana:0.004628408655366678,Acacia_covenyi:0.01885803719901641):0.0011269914241286427,(Acacia_saliciformis:0.001665376039492128,(Acacia_barringtonensis:0.010621152047553317,(Acacia_linifolia:0.004917112716979283,Acacia_cremiflora:0.007404572628010309):7.151573112595955E-7):0.004481464626736792):7.3032860916869E-4):7.514209410215966E-4):7.15157311287351E-7):7.15157311287351E-7):7.15157311287351E-7):7.15157311287351E-7):0.0025980464648082124,((Acacia_attenuata:0.008951980250786196,(Acacia_chinchillensis:0.015405696812080316,Acacia_buxifolia:0.022172755661108434):7.151573113151066E-7):0.001924199495399015,((Acacia_polybotrya:0.0021023445663936324,Acacia_debilis:0.00830936801850879):7.15157311287351E-7,((Acacia_cardiophylla:0.003421043042484806,((Acacia_baileyana:0.0016176423800172146,Acacia_nanodealbata:0.003451665813281324):0.0014802307717058372,(Acacia_dealbata:0.0017171220534523135,(Acacia_jonesii:0.001456725624900096,(Acacia_trachyphloia:0.0037542690998977335,(Acacia_blayana:0.001624511947131091,(Acacia_decurrens:7.151573113151066E-7,Acacia_silvestris:0.0020710754513579843):0.0017209332656217824):7.151573112595955E-7):7.151573113151066E-7):0.0022094995304386134):7.15157311287351E-7):0.002219532380067335):7.15157311287351E-7,((Acacia_filicifolia:0.0034321594780659104,Acacia_glaucocarpa:0.0022261214334261814):7.15157311287351E-7,(Acacia_leucoclada:0.007993674352375857,((Acacia_dangarensis:0.014902463153970591,(Acacia_jucunda:0.002687921109329583,Acacia_podalyriifolia:0.004684227243866801):0.0023382448299727188):0.0031898182631659167,((Acacia_cangaiensis:9.576651696435179E-4,((Acacia_oshanesii:0.004473765950141706,Acacia_muelleriana:0.00677330500292983):7.151573113151066E-7,((Acacia_schinoides:7.5642637201076E-4,Acacia_pruinosa:8.555572839036019E-4):0.0022429230180227855,(Acacia_fulva:0.006622654415573026,Acacia_mollifolia:0.004525878940236344):0.001072108200709354):8.194849540328342E-4):7.961701374236685E-4):7.151573112595955E-7,((Acacia_pedleyi:0.003138429471034543,Acacia_loroloba:7.151573113151066E-7):0.002598527799332395,((Acacia_parramattensis:0.0014972993265941204,(Acacia_deanei:0.0016325846316250225,Acacia_olsenii:7.15157311287351E-7):0.003506055055095797):0.0014785152635542198,(Acacia_irrorata:0.0015078772163922005,(Acacia_parvipinnula:0.006854796844660754,(Acacia_constablei:0.03623150900131736,Acacia_mearnsii:8.596395659404843E-4):7.15157311287351E-7):7.536479575195321E-4):7.573318864003975E-4):7.151573112595955E-7):8.167708025026976E-4):7.151573113151066E-7):8.530095246268576E-4):7.15157311287351E-7):9.146637034655458E-4):0.0018314429280253397):9.147109022095423E-4):7.151573112595955E-7):0.002747251778999371):7.151573113151066E-7):0.001865608189002943):7.052728414740361E-4):0.0026165337715410852):0.001526647186874397):0.0016580883984176065):0.00836412999427913):9.351921998057011E-4):0.021568481756086333,((((Acacia_triptera:0.008236478912540063,Acacia_rhigiophylla:0.001903735020688191):0.012903383425146964,((Acacia_alpina:0.00967721414330902,(Acacia_courtii:0.006064724144313582,Acacia_orites:0.010503748947443076):7.15157311287351E-7):6.279597933415704E-4,(Acacia_phlebophylla:0.012163360195051598,(Acacia_obtusifolia:0.014012355014167976,(Acacia_longissima:0.0072190366537357165,(Acacia_axillaris:0.028024163512604477,(Acacia_mucronata:0.0049868665970976556,(Acacia_longifolia:0.004711349444623286,Acacia_floribunda:0.01636282790156604):0.001536840434117781):9.47247356769515E-4):7.151573112595955E-7):0.003035859546208164):0.0011488149762554634):0.004066108149808456):0.0016226659231394214):0.00234672319575141,(((Acacia_havilandiorum:0.012792892475459838,(Acacia_masliniana:0.01275686862222547,Acacia_patagiata:0.011623419652099953):0.005534545846312772):7.15157311287351E-7,(Acacia_colletioides:0.019833844487901264,(Acacia_delphina:0.05177219821218429,(Acacia_simulans:0.03011125736730899,Acacia_argutifolia:0.015260556807868836):0.003894253259379421):0.031594790460570316):0.0017436956298745587):0.0016044799746040839,(((Acacia_mackeyana:0.005206538108393166,Acacia_nyssophylla:0.005219622740774421):0.00923240462110353,(Acacia_lineolata:0.013732522990822671,Acacia_inceana:0.013707740699757748):5.22461586923928E-4):0.005345813508601027,((Acacia_baueri:0.023147288229392105,((Acacia_oswaldii:0.006006182620980682,Acacia_calcicola:8.5428857412162E-4):0.009952111801543123,(Acacia_rigens:0.011848369646817625,(Acacia_hexaneura:0.006483749467914579,Acacia_enterocarpa:0.006074934277353339):0.004477564226365416):0.005404109676786589):0.0023955099931028123):0.005703076561865139,((Acacia_dawsonii:0.026749280145658444,Acacia_montana:0.0092014888962689):0.0061390650373507605,((Acacia_verricula:0.012684095719831479,(Acacia_brachypoda:0.011220075457401307,(Acacia_consobrina:0.016665940357536907,(Acacia_auratiflora:0.03831504008559988,(Acacia_wilhelmiana:0.006509509816567616,(Acacia_ixiophylla:0.006153778118501874,Acacia_dictyoneura:0.006614316117281194):7.833239286508531E-4):0.0062484159902884695):7.151573113151066E-7):7.151573112595955E-7):0.004238448008754503):0.008429711034310838,(((Acacia_cyclops:0.04303892889323452,Acacia_stenophylla:0.06316482648785338):0.0040650139628879145,(Acacia_brachyclada:0.029399710995825112,(Acacia_redolens:0.01803125565389474,((Acacia_georginae:0.014491689676515151,(Acacia_argyrodendron:0.0013059342759877135,Acacia_harpophylla:0.002154616942290466):0.011188594650604733):0.006715939423674322,(Acacia_sclerophylla:0.014662460189078769,(((Acacia_amyctica:0.0031216983168460555,Acacia_ancistrophylla:0.001877415454128395):7.151573112595955E-7,(Acacia_enervia:0.006129382889836554,Acacia_papyrocarpa:0.015039563092635322):0.001975261934796191):0.003985774249027851,((Acacia_omalophylla:7.15157311287351E-7,Acacia_melvillei:7.15157311287351E-7):0.003029681043767246,((Acacia_microsperma:7.151573112595955E-7,Acacia_maranoensis:0.0010534979960573065):0.001137157599918448,((Acacia_cana:0.00321285779195174,(Acacia_latzii:0.0022596239664132434,Acacia_sibilans:0.0016321843081744947):0.003926011693354908):0.005251623483400192,(Acacia_pendula:0.00871269702613206,(Acacia_loderi:0.0063319505002154275,(Acacia_maconochieana:0.01383512411546764,Acacia_tephrina:0.006151989208348363):8.366373115773762E-4):0.0037393661100476316):0.00149780205395178):0.006583477416129746):0.002212908419134574):0.012418767321067503):0.0011499549810511378):0.003952174417926724):0.00611121136168008):0.00673422981891475):6.245497519160315E-4):0.0016862067134571779,(Acacia_dolichophylla:0.043518074842110566,((Acacia_barattensis:0.021374604282199422,(Acacia_crassiuscula:0.009281513636696659,Acacia_spongolitica:0.003098946981805628):0.009255447350437596):0.005249990946861738,(((Acacia_elongata:0.005762222810036632,(Acacia_baeuerlenii:0.009968648840410432,Acacia_venulosa:0.003650875736425585):0.0011492619570985796):0.008507218057561827,(Acacia_genistifolia:0.01367289962827914,(Acacia_tessellata:0.004509818213870032,(Acacia_melanoxylon:0.009063086161052475,Acacia_implexa:0.024681019665646065):0.0065915855804785095):0.010101926657103577):0.0024712585186929537):0.0033908230144090723,(Acacia_viscidula:0.05369320869509564,((Acacia_flexifolia:0.008280076575074985,(Acacia_errabunda:0.010142511145861843,(Acacia_menzelii:0.015361474606763736,(Acacia_lineata:0.001271002025232365,Acacia_rhetinocarpa:0.0029180330421209044):0.0021436951134223836):0.005306265973868074):8.443437155705169E-4):7.573454178020911E-4,((Acacia_paradoxa:0.01497433884391633,(Acacia_dodonaeifolia:0.012025280216102718,Acacia_aspera:0.0026423542264326083):0.0010162844917726566):7.151573113151066E-7,((Acacia_cognata:0.0028847671994340907,Acacia_howittii:0.0019506456727544919):0.0012891042463281654,(Acacia_verniciflua:0.002140656876143565,(Acacia_gnidium:0.005850882573264299,Acacia_ausfeldii:7.15157311287351E-7):7.243313607727953E-4):0.002173516259721009):7.280742255716399E-4):0.0023091986021295807):0.004470334555741973):0.0023893207339294453):0.0017802794476079464):0.0015317575642483927):0.004458592437235509):0.004160852015246741):0.0065576853193394236):0.0014231862769354953):0.0014465507779810594):0.004618674144293733):0.002603511776329448):0.003863068806664205,(((Acacia_xiphophylla:0.01406957531459041,Acacia_pachycarpa:0.009186395387635105):0.022553525780505512,((Acacia_cuthbertsonii:0.03258089198281908,Acacia_wanyu:0.001949801504605525):0.037958104296143325,(Acacia_oldfieldii:0.0028813554988194046,(Acacia_jibberdingensis:0.0022463058622689824,Acacia_karina:0.0022520673080551057):0.002120844403458916):0.010130946381992384):0.004226783630659509):0.0021848503676270004,((Acacia_sericophylla:0.007587509285341687,Acacia_coriacea:7.151573113151066E-7):0.031562044883144846,((Acacia_drepanophylla:0.025240497609312296,((Acacia_sessilispica:0.009735080077711955,Acacia_neurophylla:0.015191600461080784):7.151573113151066E-7,(Acacia_denticulosa:0.001608175675475193,(Acacia_nuperrima:0.02594763420035459,(Acacia_acuminata:0.002601639684921997,Acacia_burkittii:0.005004643661031816):0.006278702804507846):0.0032662444365007814):0.004607598507300803):0.009263492055494482):0.0027803874200853507,(Acacia_aciphylla:0.0038697664800469433,((Acacia_beauverdiana:0.0010537625217203472,Acacia_sibina:0.009018454001707005):0.005001520997056252,(Acacia_exilis:0.014527361996034799,((Acacia_hamersleyensis:0.013233462587675993,((Acacia_citrinoviridis:0.001043030918942145,Acacia_umbraculiformis:7.151573112595955E-7):0.0016329502097711113,(Acacia_olgana:0.007961072590437768,Acacia_tarculensis:7.151573112595955E-7):7.151573113151066E-7):0.004851450719271622):8.40605441569775E-4,((Acacia_lasiocalyx:0.019207831403066367,((Acacia_jamesiana:0.015579706402285648,((Acacia_ammobia:0.00870165962639377,Acacia_bromilowiana:0.015938688387133276):7.151573113151066E-7,(Acacia_petraea:0.00450989168964136,(Acacia_undoolyana:0.0015234079252227362,Acacia_desmondii:0.0022954212681742248):0.002486921778304535):0.002128166300202128):0.003957439597350176):6.196661921715196E-4,(((Acacia_curranii:0.01615414977805829,(Acacia_repanda:0.0015132424204491735,(Acacia_multispicata:0.0031869519288851844,Acacia_oncinophylla:8.040383924820538E-4):0.0016024922623555649):0.003117527674506293):0.0028269141622643823,((Acacia_plectocarpa:0.0011948449174969678,Acacia_armitii:0.0013669537651874175):0.011683859381782319,(Acacia_delibrata:0.007557538438008743,(Acacia_gracillima:0.01651728584526191,(Acacia_trachycarpa:7.15157311287351E-7,(Acacia_chisholmii:7.151573113151066E-7,Acacia_lysiphloia:0.0032696224565494925):0.0053405650159057405):0.003456073182979663):0.0024631599622474687):0.0033540629635743224):0.003590312653334815):8.696189192810566E-4,((Acacia_eriopoda:0.042663445228002805,((Acacia_difficilis:0.0026561687867718287,Acacia_mountfordiae:0.01821123693674337):0.005797718328027057,(Acacia_blakei:0.05813127557964326,Acacia_hemsleyi:0.04469584113475372):0.006262157874704716):0.0022587279996645893):0.014497598105593645,((Acacia_tumida:0.012967168853347977,(Acacia_retinervis:7.15157311287351E-7,Acacia_areolata:7.15157311287351E-7):0.003219907090252827):0.012274798352010452,(Acacia_julifera:0.012393219642364783,(Acacia_stipuligera:0.012177274591753273,(Acacia_brassii:0.019701664585844547,(Acacia_proiantha:0.006542523904508407,(Acacia_torulosa:0.007928623153854286,Acacia_conspersa:0.012426284773310592):0.006049542347485143):8.749319040404491E-4):9.95082858383456E-4):0.0011574867894396101):8.97183673051527E-4):0.001198860027621318):0.0028528725987051473):0.00192648598690065):0.0043715818726474676):9.987759190550616E-4,(Acacia_anfractuosa:0.008873182737428653,(((Acacia_sparsiflora:0.022211565499028113,(Acacia_hopperiana:7.151573112595955E-7,(Acacia_arcuatilis:0.0011076276316849265,Acacia_aprica:0.0022933015241947963):0.0010749584563768955):0.009899462147004268):0.0020284305174865236,(Acacia_anastema:0.013761537372509236,((((Acacia_subtessarogona:0.00366198547315999,Acacia_balsamea:0.002163895048881148):0.004515990704463291,(Acacia_ramulosa:0.005858778890638183,(Acacia_coolgardiensis:0.0144898887381813,Acacia_sulcaticaulis:0.006926541498691874):0.0016861997311946597):7.898562445587398E-4):0.007559552903849798,(Acacia_catenulata:0.004881202432824749,(Acacia_brachystachya:0.005990238719446456,((Acacia_craspedocarpa:0.0035604797033783053,Acacia_aneura:0.00349694254167926):0.003448926265703811,(Acacia_distans:0.008696098657809903,(Acacia_clelandii:0.007455980031684517,(Acacia_minyura:7.15157311287351E-7,(Acacia_ayersiana:0.006317693628508092,Acacia_paraneura:7.151573112595955E-7):0.0036791425016740043):9.183029843846113E-4):8.97914789745824E-4):0.001592816656032725):0.004739574178191319):0.004801023142927907):0.002995458833489062):0.0010461149579037987,((Acacia_brockii:0.026284284287853954,(Acacia_atkinsiana:0.011990464662589961,(Acacia_macdonnelliensis:0.023478906280176265,Acacia_adsurgens:0.0016339762843763095):0.0034380211124614146):0.001603128985439517):0.008896749038436014,((Acacia_umbellata:0.01732252461553957,((Acacia_stowardii:0.001132129812480287,(Acacia_aprepta:7.15157311287351E-7,Acacia_kempeana:0.0024314224647912497):0.001185196699640928):0.005263584548861555,(Acacia_cyperophylla:0.006770029515112547,(Acacia_grasbyi:0.0027040924102191832,Acacia_rhodophloia:0.003329996440795402):0.0010842549089271625):0.0021951189957217787):0.0020986594666645986):0.00309310976332694,(Acacia_tenuissima:0.015937972842599624,((Acacia_doratoxylon:0.018995116088404596,(Acacia_pycnostachya:0.013342829807541756,(Acacia_diphylla:0.009499853014876297,Acacia_pubifolia:7.151573112595955E-7):0.015022168764784294):2.2585617697828964E-4):0.023019295765463688,((Acacia_cheelii:0.006152780250967382,(Acacia_binervia:0.005966845460812137,Acacia_bulgaensis:0.002613345276821527):0.0063304709552899074):0.006302827654321719,(Acacia_caroleae:0.0037858373591347083,(Acacia_striatifolia:0.002762396665344641,Acacia_tenuinervis:0.003320286345812551):0.0017858266914787535):0.0030936319089857056):0.004584911646439871):0.0010221249513046038):0.004411486951504007):0.004473825970498113):0.001045950863774514):7.151573112595955E-7):7.089851318609064E-4):0.005240349183264603,(Acacia_monticola:0.02227437934092541,((((Acacia_translucens:0.005361427037866684,Acacia_oncinocarpa:0.022703018382253415):0.00916516894773678,((Acacia_crassicarpa:7.151573112595955E-7,Acacia_aulacocarpa:0.004369969126456541):7.151573113151066E-7,(Acacia_lamprocarpa:0.002387552699856077,(Acacia_celsa:0.0060511532031342075,(Acacia_disparrima:0.006205996813168857,Acacia_midgleyi:0.006047530254997047):7.151573113151066E-7):0.003916487127581025):0.002193471461202412):0.010094417348349205):0.0026850197928284247,((Acacia_yirrkallensis:0.01515649252208745,((Acacia_abbreviata:0.008616745398838,Acacia_hilliana:0.003725567702767052):0.0070699420475539565,(Acacia_ptychophylla:0.005943715156075113,Acacia_ancistrocarpa:0.016009871466507453):0.001807728970762812):0.002533046937152006):0.002308396782733091,(Acacia_producta:0.01581702090808884,((Acacia_stigmatophylla:0.022174252901555225,Acacia_argyraea:0.016009674431644694):0.00360174757236148,((Acacia_tenuispica:0.02018145879060873,(Acacia_gonocarpa:0.04976750203469468,Acacia_drepanocarpa:0.002008799021607721):0.0028461775812705925):0.0024416849606722635,(Acacia_orthocarpa:0.013724073050198349,(Acacia_arida:0.0027674577546718537,Acacia_arrecta:0.004744301871896617):0.011284408200996188):0.002533409459942959):0.0017698710000446094):4.497101238186696E-4):0.0015381833856741856):0.0034713069008013298):0.0020037491309530253,(Acacia_tropica:0.0189754311547764,((Acacia_dimidiata:0.020380119037692268,Acacia_acradenia:0.009893906410539222):7.151573113151066E-7,(Acacia_hammondii:0.003871639396848481,((Acacia_gonoclada:0.009620597803963904,(Acacia_fecunda:0.00857154451185399,(Acacia_gardneri:0.0039844422625614495,(Acacia_neurocarpa:7.151573112595955E-7,Acacia_holosericea:7.151573112595955E-7):0.004184892689607533):0.006974585129303046):7.151573113151066E-7):8.743715718676492E-4,(((Acacia_colei:7.151573112595955E-7,Acacia_thomsonii:7.693300632887201E-4):0.007022009660984985,(Acacia_cowleana:0.015438629909800439,Acacia_elachantha:7.151573113151066E-7):6.744131690477051E-4):0.006262293115055162,(Acacia_pellita:0.0032677972222344143,(Acacia_sericoflora:0.011032315391365843,(Acacia_leptocarpa:0.014312114410124144,((Acacia_auriculiformis:0.02706369075124776,(Acacia_mangium:7.151573112595955E-7,Acacia_spirorbis:0.0038639041982758693):0.0038665417847968953):0.0023979485885232132,((Acacia_longispicata:0.04399347350736155,Acacia_faucium:0.0036298208908778218):0.0043116531915327605,((Acacia_leiocalyx:0.004623147325645671,Acacia_concurrens:0.0013366607295905442):0.0013450704491867471,(Acacia_crassa:0.0024925244313528383,Acacia_grandifolia:0.0035078331078483016):0.0034259947282264114):7.733718705501547E-4):7.956549626831344E-4):7.81221352745276E-4):0.0024764792221464438):7.151573113151066E-7):8.452137303939788E-4):7.916410228009929E-4):0.001914999861473532):0.002997513601407431):0.0042007500729312475):0.0025825048379546356):0.004041368700175907):0.0029298225772734776):0.00205795272866216):0.005689920488360534):9.361880659246591E-4):0.002964979808475099):8.58652490750178E-4):0.0010318812376912123):0.0019653985626942316):0.002600701613151124):0.003013333852035782):0.001720018637280496):0.010721577605685706):0.0037207302058150094):0.002308255351938099):7.151573112595955E-7):0.012802849825610363):0.006162997405089937):0.004309126889068704):0.0054602130937148885):0.0018319276915109706):0.00822541172853128);',
            ).save(flush:true, failOnError: true)
            log.info "Adding characters to " + title
            tree4.characters = characterString
            tree4.save(flush:true, failOnError: true)
            log.info "Finished saving sample tree: " + title
        }
        Tree tree41 = Tree.findByName('Eucalyptus')
        if (!tree41) {
            def title = "Eucalyptus"
            log.info "Reading external JSON file"
            def nwkString = ApplicationHolder.application.parentContext.getResource("classpath:resources/euc.nwk").inputStream.text
            def characterString = ApplicationHolder.application.parentContext.getResource("classpath:resources/euc.json").inputStream.text
            log.info "JSON file check: " + characterString.substring(0, 500)
            log.info "Creating sample tree: " + title
            tree41 = new Tree(
                    name: title,
                    owner: systemUser,
                    isPublic: false,
                    characters: "",
                    tree:  "()",
                    attribution: "Tree provided by Andrew Thornbill, CSIRO",
                    identifyLifeDataset: "eucalyptus"
            ).save(flush:true, failOnError: true)
            log.info "Adding characters to " + title
            tree41.tree = nwkString
            tree41.characters = characterString
            tree41.save(flush:true, failOnError: true)
            log.info "Finished saving tree: " + title
        }
        Tree tree5 = Tree.findByName('Maluridae')
        if (!tree5) {
            def name = "Maluridae"
            log.info "Reading external JSON file"
            //def characterString = ApplicationHolder.application.parentContext.getResource("classpath:resources/Acacia characters trin.json").inputStream.text
            //log.info "JSON file check: " + characterString.substring(0, 500)
            log.info "Creating sample tree: " + name
            tree5 = new Tree(
                    name: name,
                    owner: systemUser,
                    isPublic: true,
                    characters: "",
                    attribution: "Tree provided by Scott Edwards &lt;sedwards@fas.harvard.edu&gt;",
                    tree:  '(Gerygone_olivacea:0.063094,((((((((Amytornis_ballarae:0.002717,Amytornis_purnelli:0.002717)inode9:0.003306,Amytornis_goyderi:0.006023)inode8:0.001117,Amytornis_housei:0.007141)inode7:0.00533,Amytornis_textilis:0.012471)inode6:0.002252,Amytornis_merrotsyi:0.014723)inode5:0.002441,(Amytornis_dorotheae:0.003429,Amytornis_striatus:0.003429)inode10:0.013735)inode4:0.001497,Amytornis_barbatus:0.018662)inode3:0.028153,(((((((Malurus_amabilis:0.003904,Malurus_lamberti:0.003904)inode17:0.001241,(Malurus_elegans:0.003222,Malurus_pulcherrimus:0.003222)inode18:0.001923)inode16:0.013459,((Malurus_cyaneus:0.00272,Malurus_splendens:0.00272)inode20:0.013419,((Malurus_melanocephalus:0.003387,Malurus_alboscapulatus:0.003387)inode22:0.006243,Malurus_leucopterus:0.00963)inode21:0.006509)inode19:0.002465)inode15:0.001124,Malurus_coronatus:0.019728)inode14:0.002962,Malurus_cyanocephalus:0.02269)inode13:0.006382,(Malurus_grayi:0.002834,Clytomias_insignis:0.002834)inode23:0.026237)inode12:0.003881,(Stipiturus_malachurus:0.006965,(Stipiturus_mallee:0.002318,Stipiturus_ruficeps:0.002318)inode25:0.004647)inode24:0.025988)inode11:0.013862)inode2:0.01628)root;',                    identifyLifeDataset: "acacia"
            ).save(flush:true, failOnError: true)
            //log.info "Adding characters to " + name
            //tree5.characters = characterString
            //tree5.save(flush:true, failOnError: true)
            //log.info "Finished saving sample tree:" + name
        }
    }
    def destroy = {
    }
}
